package com.cms.service;

import java.util.List;
import java.util.Map;

import com.cms.exception.SystemDBException;
import com.cms.model.UserCoinLog;
import com.cms.model.UserCommission;

public interface UserCoinLogService {

	 /**
	  *  添加用户帐变记录
	  * @param log
	  * @throws SystemDBException
	  */
	 public void addUserCoinLog(UserCoinLog log)throws SystemDBException;
	 
	 /**
	  * 批量添加用户帐变记录
	  * @param log
	  * @throws SystemDBException
	  */
	 public void addUserCoinLogBatch(List<UserCoinLog> logs)throws SystemDBException;
	 
	 /**
	  * 处理用户提现
	  * @param 
	  * @param
	  */
	 public void handlerUserCash(int status,String remark,Map<String,Object>content)throws Exception;
	 
	 
	 /**
	  * 处理用户充值订单
	  * @param 
	  * @param
	  */
	 public void handlerUserRecharge(Map<String,Object>content)throws Exception;
	 
	 /***
	  *  保存用户佣金
	  * @param commission
	  * @throws Exception
	  */
	 public void saveUserCommission(UserCommission commission)throws Exception;
	 
	 /***
	  * 删除用户充值订单
	  * @param content
	  * @throws Exception
	  */
	 public void delUserRecharge(Map<String,Object>content)throws Exception;
	 
	 
	 /***
	  * 
	  * @param lotteryBetId
	  * @throws Exception
	  */
	 public void saveUserCoinLog(Map<String,Object>content)throws Exception;
}
